#给员工发工资
import random
money = 10000

for i in range(1,21):
    point = random.randint(1,10)
    if point >= 5:
        money -=1000
        print(f"员工{i},绩效分：{point},合格,发放工资1000元,公司账户余额{money}元")
    elif point < 5:
        print(f"员工{i},绩效分：{point},不合格,拒绝发放工资，公司账户余额{money}元")

    if money == 0:
        print("工资发放完毕")
        break






